package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.AExecutionRecordsMapper;
import com.ruoyi.system.domain.AExecutionRecords;
import com.ruoyi.system.service.IAExecutionRecordsService;

/**
 * 申请执行记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-02
 */
@Service
public class AExecutionRecordsServiceImpl implements IAExecutionRecordsService 
{
    @Autowired
    private AExecutionRecordsMapper aExecutionRecordsMapper;

    /**
     * 查询申请执行记录
     * 
     * @param id 申请执行记录主键
     * @return 申请执行记录
     */
    @Override
    public AExecutionRecords selectAExecutionRecordsById(Long id)
    {
        return aExecutionRecordsMapper.selectAExecutionRecordsById(id);
    }

    /**
     * 查询申请执行记录列表
     * 
     * @param aExecutionRecords 申请执行记录
     * @return 申请执行记录
     */
    @Override
    public List<AExecutionRecords> selectAExecutionRecordsList(AExecutionRecords aExecutionRecords)
    {
        return aExecutionRecordsMapper.selectAExecutionRecordsList(aExecutionRecords);
    }

    /**
     * 新增申请执行记录
     * 
     * @param aExecutionRecords 申请执行记录
     * @return 结果
     */
    @Override
    public int insertAExecutionRecords(AExecutionRecords aExecutionRecords)
    {
        return aExecutionRecordsMapper.insertAExecutionRecords(aExecutionRecords);
    }

    /**
     * 修改申请执行记录
     * 
     * @param aExecutionRecords 申请执行记录
     * @return 结果
     */
    @Override
    public int updateAExecutionRecords(AExecutionRecords aExecutionRecords)
    {
        return aExecutionRecordsMapper.updateAExecutionRecords(aExecutionRecords);
    }

    /**
     * 批量删除申请执行记录
     * 
     * @param ids 需要删除的申请执行记录主键
     * @return 结果
     */
    @Override
    public int deleteAExecutionRecordsByIds(Long[] ids)
    {
        return aExecutionRecordsMapper.deleteAExecutionRecordsByIds(ids);
    }

    /**
     * 删除申请执行记录信息
     * 
     * @param id 申请执行记录主键
     * @return 结果
     */
    @Override
    public int deleteAExecutionRecordsById(Long id)
    {
        return aExecutionRecordsMapper.deleteAExecutionRecordsById(id);
    }
}
